/**
 * Created by kaola on 16-12-13.
 */
exports.testDb = function(db) {
    return function(req, res) {
        var collection = db.get('feedback');
        collection.find({},{},function(e,docs){
            console.log(docs);
            res.render('banner', {
                "banner" : docs
            });
        });
    };
};
